import axiosData from "@/api/axios";

export default {
  /**
   * @description: 获取报修审核列表 *代表必填
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @param {Object} entity {} *
   * @return {Array}
   */
  queryPageList(params) {
    return axiosData.post("/v3/equipment-hitch/v1/hitchApplyAudit/queryPageList", params);
  },
  /**
   * @description: 报修审核通过(委内审核)或者 报修未审核通过
   * @param {String} hitchApplyAuditCode *
   * @param {String} result *
   * @param {String} reason (未审核独有)
   * @return {Object}
   */
  editApplyIn(params) {
    return axiosData.post("/v3/equipment-hitch/v1/hitchApplyAudit/reviewSubmit", params);
  },
  /**
 * @description: 报修审核通过(委内审核)或者 报修未审核通过
 * @param {String} hitchApplyAuditCode *
 * @param {String} result *
 * @param {String} reason (未审核独有)
 * @return {Object}
 */
  editApplyInnNew(params) {
    return axiosData.post("/v3/equipment-hitch/v1/hitchApplyAudit/reviewSubmitNew", params);
  }

};
